//
//  AppDelegate.swift
//  LPSina
//
//  Created by apple on 16/3/20.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication,   didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        //修改全局的tintColor
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        UITabBar.appearance().tintColor = UIColor.orangeColor()
      
//        //获取窗口
//        window = UIWindow(frame: UIScreen.mainScreen().bounds)
//        
//        //设置窗口的跟控制器
//        window?.rootViewController = MainViewController()
//        window?.backgroundColor = UIColor.redColor()
//        
//        window?.makeKeyAndVisible()
       
        return true
    }

}

